<div class="tab-menu">
<ul>
<php>if( in_array(ACTION_NAME, array('my','admin','addBlog','personal')) ) {</php>
  <li>
    <a href="__URL__&act=my" class="on">
        <php>$name = empty($name) ? '我' : $name;</php>
        <span>{$name}的{$ts['app']['app_alias']}</span>
    </a>
  </li>
<php>}else {</php>
  <li>
    <a href="__URL__&act=index" <php>if(ACTION_NAME=='index'){</php>class="on"<php>}</php> >
        <span>热门{$ts['app']['app_alias']}</span>
    </a>
  </li>
  <li>
    <a href="__URL__&act=news" <php>if(ACTION_NAME=='news'){</php>class="on"<php>}</php> >
        <span>最新{$ts['app']['app_alias']}</span></a>
    </li>
  <li>
    <a href="__URL__&act=followsblog" <php>if(ACTION_NAME=='followsblog'){</php>class="on"<php>}</php> >
        <span>我关注的人的{$ts['app']['app_alias']}</span>
    </a>
  </li>
<php>}</php>
</ul>
</div>